package com.qzsoft.zhjd.materiel.modules.materieldatasend.dto;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * @ClassName ExportSendBookExcelDto
 * @Description 台账导出
 * @author linhuawei
 * @since 2022-04-04
 */
@Data
public class ExportSendBookExcelDto {

    /**
     * 设备名称
     */
    @Excel(name = "地磅名称", orderNum = "1", width = 40)
    private String deviceName;

    /**
     * 磅单编号
     */
    @Excel(name = "磅单编号", orderNum = "2", width = 36)
    private String weightCode;

    /**
     * 磅单状态
     */
    @Excel(name = "磅单状态", orderNum = "3", width = 12)
    private String disableLabel;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号", orderNum = "4", width = 16)
    private String carNumber;

    /**
     * 数据类型
     */
    @Excel(name = "发料类型", orderNum = "5", width = 12)
    private String weightDataTypeLabel;

    /**
     * 用料项目/单位
     */
    @Excel(name = "用料项目/单位", orderNum = "6", width = 40)
    private String projectName;

    /**
     * 物料名称
     */
    @Excel(name = "材料名称", orderNum = "7", width = 20)
    private String materielItemName;

    /**
     * 物料规格
     */
    @Excel(name = "规格", orderNum = "8", width = 20)
    private String materielItemSpec;

    /**
     * 进磅时间
     */
    @Excel(name = "进场时间", orderNum = "9", exportFormat = "yyyy-MM-dd HH:mm:ss", width = 24)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entryTime;

    /**
     * 出磅时间
     */
    @Excel(name = "出场时间", orderNum = "10", exportFormat = "yyyy-MM-dd HH:mm:ss", width = 24)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date exitTime;

    /**
     * 实际数量
     */
    @Excel(name = "实际数量", type = 10, orderNum = "11", width = 16)
    private BigDecimal quantity;

    /**
     * 运单数量
     */
    @Excel(name = "运单数量", type = 10, orderNum = "12", width = 16)
    private BigDecimal waybillQuantity;

    /**
     * 实际重量
     */
    @Excel(name = "实际重量(吨)", type = 10, orderNum = "13", width = 16)
    private BigDecimal weight;

    /**
     * 运单重量/t
     */
    @Excel(name = "运单重量(吨)", type = 10, orderNum = "14", width = 16)
    private BigDecimal waybillWeight;

    /**
     * 操作员姓名
     */
    @Excel(name = "过磅员", orderNum = "15", width = 20)
    private String operatorName;

}
